package cn.icare.cms;

import cn.icare.cms.dao.po.Position;
import cn.icare.cms.model.ro.AddPositionRO;
import cn.icare.cms.model.ro.EditPositionRO;
import cn.icare.cms.model.vo.rest.MsgDatasVO;
import cn.icare.cms.model.vo.rest.PositionVo;

import java.util.List;

public interface PositionService {
    Long createOne(AddPositionRO ro);

    boolean updateOne(EditPositionRO ro);

    boolean deleteOne(Integer id);

    boolean deleteBatch(List<Integer> ids);

    PositionVo getOne(Integer id);

    MsgDatasVO getList(String name, Integer pageNum, Integer pageSize);
}
